package com.ibatis.service;

import com.ibatis.pojo.Student;

import java.util.List;
import java.util.Map;

/**
 * {@code @Project} mybatis-study
 * @Description
 * {@code @Author} Sunny
 * @Date 2023/11/3 09:34:48
 * {@code @Version} 1.0
 */
public interface StudentService {
    void addStudent(Student student);
    int updateStudent(Student student);
    int deleteStudent(Student student);
    Student getStudentById(int id);
    List<Student> getStudentsLike(Map<String, String> map);
    List<Student> getStudentsEquel(Map<String, String> map);
    List<Student> getStudentsTest(Map<String, String> map);
    List<Student> getAllStudents();
}
